/*
 * Copyright 2011 Niklas Kyster Rasmussen
 * 
 * This file is part of WotXP.
 *
 * WotXP is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * WotXP is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with WotXP; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
 */

package net.nikr.wot.gui.data;


public class Next {
	
	public enum ShowNext {
		SHOW_10("10", 10),
		SHOW_20("20", 20),
		SHOW_30("30", 30),
		SHOW_40("40", 40),
		SHOW_50("50", 50),
		SHOW_ALL("All", 100),
		;
		
		private String name;
		private int value;
		
		private ShowNext(String name, int value) {
			this.name = name;
			this.value = value;
		}
		
		@Override
		public String toString(){
			return name;
		}

		public int getValue() {
			return value;
		}
	}
	
	
	private String rowName;
	private int xp;
	private int total;

	public Next(String rowName, int xp, int total) {
		this.rowName = rowName;
		this.xp = xp;
		this.total = total;
	}

	public String getRowName() {
		return rowName;
	}

	public int getTotal() {
		return total;
	}

	public int getXp() {
		return xp;
	}
}
